package com.gateway.security.common.exception;

import org.springframework.security.core.AuthenticationException;

import java.io.Serial;

/**
 * @program: api-gateway
 * @description:
 * @author: YuKai Fan
 * @create: 2025/2/11 21:03
 **/
public class TokenAuthenticationException extends AuthenticationException {
    @Serial
    private static final long serialVersionUID = 2999034277936502969L;

    public TokenAuthenticationException(String msg, Throwable cause) {
        super(msg, cause);
    }

    public TokenAuthenticationException(String msg) {
        super(msg);
    }
}
